package com.jic.data.model.vo.response;

import com.jic.common.base.vo.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@ApiModel(description = "响应参数")
public class CustomerConsumeStsResponse extends BaseEntity {
    private static final long serialVersionUID = 1L;
    //@NotEmpty(message = "id") 
    @ApiModelProperty(notes = "id")
    private Long id;

    //@NotEmpty(message = "渠道id") 
    @ApiModelProperty(notes = "渠道id")
    private Long channelId;

    //@NotEmpty(message = "渠道名称") 
    @ApiModelProperty(notes = "渠道名称")
    private String channelName;

    //@NotEmpty(message = "平台id") 
    @ApiModelProperty(notes = "平台id")
    private Long platformId;

    //@NotEmpty(message = "平台名称") 
    @ApiModelProperty(notes = "平台名称")
    private String platformName;

    //@NotEmpty(message = "店铺id") 
    @ApiModelProperty(notes = "店铺id")
    private Long storeId;

    //@NotEmpty(message = "店铺名称") 
    @ApiModelProperty(notes = "店铺名称")
    private String storeName;

    //@NotEmpty(message = "应收销售总金额") 
    @ApiModelProperty(notes = "应收销售总金额")
    private Double consumeReceivableAmount;

    //@NotEmpty(message = "实收销售总金额") 
    @ApiModelProperty(notes = "实收销售总金额")
    private Double consumeReceivedAmount;

    //@NotEmpty(message = "订单商品数量") 
    @ApiModelProperty(notes = "订单商品数量")
    private Integer orderGoodsQuantity;

    //@NotEmpty(message = "订单数量") 
    @ApiModelProperty(notes = "订单数量")
    private Integer orderQuantity;

    //@NotEmpty(message = "客单件,应收销售总金额/会员数") 
    @ApiModelProperty(notes = "客单件,应收销售总金额/会员数")
    private Double memberReceivableAvgAmount;

    //@NotEmpty(message = "消费人数，该统计维度下的消费人数") 
    @ApiModelProperty(notes = "消费人数，该统计维度下的消费人数")
    private Integer consumeMemberNumber;

    //@NotEmpty(message = "折扣率,实收销售金额/应收销售金额，保留2位小数") 
    @ApiModelProperty(notes = "折扣率,实收销售金额/应收销售金额，保留2位小数")
    private Double discountRate;

    //@NotEmpty(message = "笔件数,商品数量/订单数量，保留2位小数") 
    @ApiModelProperty(notes = "笔件数,商品数量/订单数量，保留2位小数")
    private Double orderAvgGoodsQuantity;

    //@NotEmpty(message = "消费日期") 
    @ApiModelProperty(notes = "消费日期")
    private Date consumeDate;

    //@NotEmpty(message = "统计类型,1:店铺级；2：平台级；3：渠道级；4：全渠道") 
    @ApiModelProperty(notes = "统计类型,1:店铺级；2：平台级；3：渠道级；4：全渠道")
    private Integer stsType;

    //@NotEmpty(message = "分段类型，1：按日；2：按月；3：季度；4：年；5:周") 
    @ApiModelProperty(notes = "分段类型，1：按日；2：按月；3：季度；4：年；5:周")
    private Integer periodType;

    //@NotEmpty(message = "统计日期") 
    @ApiModelProperty(notes = "统计日期")
    private Date stsDate;

    //@NotEmpty(message = "更新人") 
    @ApiModelProperty(notes = "更新人")
    private Long updator;

}
